package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.DouyinMessage;


import cn.jobstart.enums.DouyinMessageShowFlagEnum;
import cn.jobstart.enums.DouyinMessageDelFlagEnum;
import cn.jobstart.enums.DouyinMessageTypeEnum;
import cn.jobstart.enums.DouyinMessageStatusEnum;
import cn.jobstart.enums.DouyinMessageTopFlagEnum;

/**
*    @author xy
*    @Date 2024-01-08 10:38:28
*    @description DouyinMessageDesc      抖音消息(评论管理、私聊管理)
*/
@Data
public class DouyinMessageDesc extends DouyinMessage {


    private String showFlagDesc;
    private String delFlagDesc;
    private String typeDesc;
    private String statusDesc;
    private String topFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=DouyinMessageShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=DouyinMessageDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getTypeDesc() {
        typeDesc=DouyinMessageTypeEnum.getDescByType(getType());
        return typeDesc;
    }
    public String getStatusDesc() {
        statusDesc=DouyinMessageStatusEnum.getDescByType(getStatus());
        return statusDesc;
    }
    public String getTopFlagDesc() {
        topFlagDesc=DouyinMessageTopFlagEnum.getDescByType(getTopFlag());
        return topFlagDesc;
    }
}

